package com.bestv.search.common.service;

import java.util.List;

public interface GenericManager<T, PK> {

    public List<T> getAll();

    public T get(PK id);

    public boolean exists(PK id);

    public T save(T object);

    public void remove(PK id);

    public T saveOrUpdate(T object);

}
